#include<stdio.h>
int main();
{
int a;
scanf("%d",&a);
printf("\n%d(10),%o(8),%x(16)\n",a,a);
return 0;
}